How to Password Protect a Directory so all Files are Protected?

Hello CFers and Happy Holidays,
I am moving a web site over from a Linux server over to a
Windows 2000 server. The site was currently password protected via
the oh so familiar .htaccess method on the Linux server. Now that
the site is on IIS on Windows, the .htaccess files don't work.
I have created a MSSQL database with a users table that
contains all of the username and passwords that are allowed to
access the site.
Normally I would just log users in by querying the database,
setting a session variable, and then using application.cfm to check
to make sure the users is logged in. However, in this particualr
site, most of the files are made up of .htm files which do not get
processed by the ColdFusion application.cfm tag.
Several posts indicated that I would need to disable
anonymous access within IIS and then create the individual user
accounts within Administrative Tools > Computer Management >
Users and Groups. However, in this case, I don't want to create
thousands of new users within windows.
Is there a way for me to password protect all files within a
directory while still using the accounts set up in my MSSQL
database for authentication?
Thanks,
David Levin

> Several posts indicated that I would need to disable
anonymous access within
> IIS and then create the individual user accounts within
Administrative Tools >
> Computer Management > Users and Groups. However, in
this case, I don't want to
> create thousands of new users within windows.
How many users did you have in your .htaccess config? That's
how many
you'd need to set up in IIS. With IIS & file system
permissions you're
effecting the same thing you would with Apache's .htaccess
authorisation.
Except using GUI tools rather than text files; it's the same
principle,
though.
Or... you could just install Apache and use that instead,
sticking with the
approach you're used to.
Adam

Similar Messages

  • How to update managed metadata column for all file in document library using powershell

    Hi,
    How to update managed metadata column for all file in document library using powershell?
    Any help on it.
    Thanks & REgards
    Poomani Sankaran

    Hi TanPart,
    I have changed the code which you have give in order to get the files from SharePoint 2010 Foundation  Document Library.But i am getting below error in powershell.
    Property 'ListItemCollectionPosition' cannot be found on this object; make sure it exists and is settable.
    Could you tell me which is the issues in it?
    See the code below.
    $web = Get-SPWeb http://ntmoss2010:9090/Site
    $list = $web.Lists["DocLib"]
    $query = New-Object Microsoft.SharePoint.SPQuery
    $query.ViewAttributes = "Scope='Recursive'";
    $query.RowLimit = 2000
    $caml = '<Where><Contains><FieldRef Name="Title" /><Value Type="Text">Process Documents/Delivery</Value></Contains></Where>' +
            '<OrderBy Override="TRUE"><FieldRef Name="ID"/></OrderBy>'
    $query.Query = $caml
    do
        $listItems = $list.GetItems($query)
        $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
        foreach($item in $listItems)
            #Cast to SPListItem to avoid ambiguous overload error
            $spItem = [Microsoft.SharePoint.SPListItem]$item;
            Write-Host $spItem.Title       
    while ($spQuery.ListItemCollectionPosition -ne $null)
    Thanks & Regards
    Poomani Sankaran

  • I cannot seem to edit PDF files on Adobe Acrobat as it says the files are protected and I need to enter a Permissions Password?

    I cannot seem to edit PDF files on Adobe Acrobat as it says the files are protected and I need to enter a Permissions Password?

    If the files have a permissions password, you need to know it, and remove security, before you can edit the files. That is correct.

  • I have a 27" iMac with 16GB of factory installed SDRAM and 1T harddrive.  It is telling me the harddrive is full and is not functioning correctly.  How can I adjust so that all files are managed on the harddrive rather than the SDRAM.  (BTW - design flaw)

    Processor 3.4 GHz Intel Core i7
    Memory  16 GB 1333 MHz DDR3
    I have a 27" iMac with 16GB of factory installed SDRAM and 1T harddrive.  It is telling me the harddrive is full and is not functioning correctly.  How can I adjust so that all files are managed on the harddrive rather than the SDRAM.  (BTW - design flaw here.)
    Older Macs with a single Harddrive would simply expand OS management on the drive, and I think I understand the new Fusion Drive to do just that, but how do I get this product that I spent a great deal of money on to be more than a pretty screen?

    I was confused by this statement
    It is telling me the harddrive is full and is not functioning correctly.
    OS X manages ram and when you run out, it create swapfiles to extend your ram on the HDD (Hard Disk Drive). The OS itself, takes about 16 gig of space and that too resides on the HDD.  Your 16 gig of RAM is really a temporary space that holds things from the HDD so the processor can work on them.  There is no design flaw between your ram and HDD.  Something else is going on and there are a lot of smart people here to help you figure out what that "something else" is.
    I would do three things.  First I would create a backup, backups are important.  Second, I would reboot into recovery and repair my HDD.  Lastly while still booted in recovery I would repair permissions.
    Can you capture a screen shot of the exact error you are getting?

  • HT201269 My PC crashed. iTunes was on it and now all files are gone. All music does exist on iPad. How do I get the music that had been downloaded from iTunes and copied from my CDs onto new PC from iPad. Would rather not use cloud.

    PC crashed. iTunes was on it and now all files are gone. All music both purchased  and copied from CDs is on iPad. How do I get the music back onto the PC without using the cloud. Afraid if sync will wipe all music from iPad.

    You would need to download iTunes on comp and download purchases again (you don't have to pay again) and upload your CDs again IF you sync your iPad to your computer it will erase everything

  • HT3275 2 problems: All files are locked - how to globally unlock on the backup drive? I am backing up large video files 500GB on a 2 TB machine. Time Machine repeatedly copies everything using up all of disk space. I only need 1 copy not, twenty. What to

    2 problems: All files are locked - how to globally unlock on the backup drive? I am backing up large video files 500GB on a 2 TB machine. Time Machine repeatedly copies everything using up all of disk space. I only need 1 copy not, twenty. What to do?

    2 problems: All files are locked - how to globally unlock on the backup drive? I am backing up large video files 500GB on a 2 TB machine. Time Machine repeatedly copies everything using up all of disk space. I only need 1 copy not, twenty. What to do?

  • I downloaded the album Hullabaloo and the files are protected and won't let me put them on my iPod touch, even though the computer is authorized. How do i unprotect them?

    Read the title, that's basically it. It says it can't put the songs on my iPod because the computer isn't authorized, even though it is. The files are "protected" and have been like that since i bought the album. Any help? Thanks:)

    De-authorize your computer, then authorize it again.

  • Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ask in the ID forum and be much more specific about your configuration. there could be any number of reasons why manifests, temp files or restore files are created.
    Mylenium

  • When I back up my Mac Book Pro to an external hard drive not all files are backed up. Can anyone help please?

    When I try to back up my Mac Book Pro to an external hard drive some of the files are backed up but not all files are backed up. I don't understand. Can anyone help please?

    I've used time machine in the past and couldn't get to the bottom of the problem so I've recently downloaded and am using carbon copy cloner and I get the same problem. The files that are missing are just word and number documents. Seems so odd.
    Thanks for replying
    John

  • Upon creating a new catalog, all files are renamed with a postfix: "-2"?

    My catalog was corrupted, and i decided to create a new catalog from cratch.
    To my big surprise alle falenames was renamed from IMG_xxxx.cr2 to IMG_xxxx-2.cr2. Why?
    This is i problem sice i still god the old catalog, and try to recover some of the old editorial settings, but since alle files are renamed the are no longer visible in the old catalog. just about 15.000 files are renamed!

    Lightroom only adds suffixes when it finds files of the same name in a location it's moving or copying too.
    What option did you use on Import? Copy/Add/Move?

  • A lot of my iTunes files are protected and unavailable to use in iMovie. Why is this?

    A lot of my iTunes files are 'protected and unavailable' to use in iMovie. Why?

    check in Finder the suffix of those audio files ... if it's .m4p, those are protected=DRM=not meant/allowed for 'processing' aka using in videos...,
    only legal way is:
    * create a playlist of your m4p filesn in iTunes
    * burn a CD from this playlist in iTunes (... if your Mac comes with a disk-drive ...)
    * import this CD back to iTunes => same title, but now with .m4a = audio, unprotected... could be helpful to add some 'tag' in iTunes to those re-imported music to indicate them as 'processable'...

  • Apple Update doesn't update yet states all files are up to date

    I tried running the Apple Software update on my 10.6.6. It runs, bu then it gives me a message that all files are already updated and the only option is to quit. It doesn't update any files.
    I tried even going to the direct file link to update Epson drivers. I know there's an updat out there for Epson. My current driver for my R2880 printer is v8.17 and I know that there's an upgrade to 8.37 (I have done this update on another MAC).
    I have done other updates before without any issues. I've tried 4-5 times then rebooted my MAC and it still doesn't update. Any help would be appreciated.

    If SU doesn't show the update, then either you've not selected the Epson printer in the Print & Fax prefPane or it needs to be connected to the machine. BTW, the latest Epson update is at http://support.apple.com/kb/dl900 Download and install it manually.

  • How can I create a array with all files from a directory

    How can I create a array of files or varchar with all files from a directory?

    I thought the example could be improved upon. I've posted a solution on my blog that doesn't require writing the directory list to a table. It simply returns it as a nested table of files as a SQL datatype. You can find it here:
    http://maclochlainn.wordpress.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

  • How to batch rename with index/counter all files in a project?

    I have a project with files named with an index (I believe that is the correct term).  For example, the files are named XX1, XX2, and so on.  However, some files have the same name because I imported from two different memory cards, without thinking to set the starting number for the second import into the same project.  I would like to batch rename all of the files (masters and versions) with a consecutive index (1, 2, 3, and so on).  How can this be done?  I have found in the manual the way to do this on import, but not how to correct my mistake now.  Thanks!

    I would like to batch rename all of the files (masters and versions) with a consecutive index (1, 2, 3, and so on).
    Select the images in the project and then use ( from the main Aperture application menu)
         Matadata -> Batch Change (Shift-Command-B)
    Set the Version Name format to one of the "Custom with Index ..." or "Custom with Counter ..." formats and check "Apply to Master Files". Make sure you disable all other changes that you do not want, like Time Zone correction, or keywords.
    Regards
    Léonie

Maybe you are looking for

  • Forwarding agent payment settlement

    Hi Experts, Scenario:  A delivery to a sales order is shipped through a forwarding agent(vendor). Example A = Company B= Forwarding agent(Transporters) C= Customer Customer places the order with the company for 1 ton bags of cement. For shipping the

  • Compatability with Elements 10

    I have Lightroom 4 can I use/export images ok with Elements 10 with this OK? also I have Topaz Adjust 4 can I use this with Lightroom as a plug in and if so how to I enter Topaz as Adjust 4 as a plug in? thankyou

  • DMS - Original file drawing

    When creating DIR in DMS i am attaching a Autocad drawing file. Some of the users who are viewer of this DIR have Autocad installed on their desktop while others do not have Autocad installed on their desktop. For users/viewers who have autocad insta

  • How do I save effects onto the source loop file

    I have a ton of effects on a particular loop; it'd be nice to mix it all down so the source loop has all the processing already on it. That way i can free up resources and use the post-processed loop in the future. any ideas??

  • SSD + slower HDD

    Despite the abundant discussions about good hard drive configuration for Lightroom (v 4), I am still struggling to understand what to choose when buying my new desktop PC without blowing my budget. Assume that processor, RAM, motherboard and all that