Welcome, Guest. Please Login.
05/21/13 at 17:47:13
News:


Web Server Security (Read 1830 times)
CaptainK
Byte Member
*


Doh!

Posts: 2
Gender: male
Web Server Security
01/29/04 at 15:16:14
 
Hi,
I'm playing at hosting a web server and want to provide access to a directory on my hard drive for a few friends to download home recorded music tracks.
 
I am running Win XP Pro, and managed to get IIS working so that you could click on a link which presented a list of the files in the directory.
 
The problem is I want to password protect access to the directory - I don't want our band's tracks being nicked before we're ready for fame and fortune!!
 
I tried tying this to a dedicated Windows account, but although a userid/password box was presented, you could type anything in and still access the directory  cry  
 
Can anyone help?
 
Cheers
Back to top
 
 
  IP Logged
Administrator
MDH Administrator
*****


How Can I Help You?

Posts: 1253
Gender: male
Re: Web Server Security
Reply #1 - 01/29/04 at 16:02:08
 
More than likely, what you have done is enable to password feature, but then allowed "Everyone" access to the folder itself.  What you are going to need to do is goto the actual folder on the harddrive, right-click and select properties, then jump over to the security tab and remove every user you see there, then just add back the users that you wish to have access.  I would probably recommend adding back your local user account as well.  Also, I would probably only give the users accessing it from the web read and list permissions.  Also, in the security settings of IIS use Basic authentication, remove integrated windows authentication, put your machine name as the domain and for realm you can enter anything you want.
Back to top
 
 
Email WWW MyDesktopHelp MyDesktopHelp   IP Logged
CaptainK
Byte Member
*


Doh!

Posts: 2
Gender: male
Re: Web Server Security
Reply #2 - 02/04/04 at 13:24:46
 
Thanks for the suggestions. I think because I'm not using a Domain, but a Workgroup, I don't get the option to remove users as you suggest though.
 
If I go properties, sharing on the drive I only have the option of sharing the drive or not (plus allow users to change files if I do choose share).
 
 ???
Back to top
 
 
  IP Logged
Administrator
MDH Administrator
*****


How Can I Help You?

Posts: 1253
Gender: male
Re: Web Server Security
Reply #3 - 02/04/04 at 14:18:21
 
You do not need to be in a domain for this to work, you just need to setup user accounts on the local machine.  And do not goto the sharing tab, use the permissions section and add the users you created with the permissions you need.  When when the user is prompted to logon they will have the file permissions that you set.
Back to top
 
 
Email WWW MyDesktopHelp MyDesktopHelp   IP Logged