Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 21st, 2004, 08:20 AM
kmattera kmattera is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 47 kmattera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 38 m 40 sec
Reputation Power: 5
Permissions on folders

Hi all,

I'm not sure if this question goes in this section or not, but here goes.

I have a Login that checks an Access database for the user, and then if a valid user, directs them to a page that pulls any reports that are located in their specific folder. For example, http://www.somewebsite.com/Members/10/SomeFile.pdf. While the only reports pulled are those located in their directory, I realized that there is nothing in place that keeps someone from changing the subfolder "10" to another number and being able to get someone else's report.

Is there a way to set permissions on each folder without having to require the user to go through Windows login, as well as the webpage login? Hopefully this makes sense.
Thanks in advance for your help!

Kellie

Reply With Quote
  #2  
Old December 23rd, 2004, 04:43 PM
mwalts's Avatar
mwalts mwalts is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Victoria, BC Canada
Posts: 482 mwalts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 10 m 30 sec
Reputation Power: 5
Well, you can have each website check to make sure the session is valid before displaying the page... this can be difficult depending on your level of farmiliarity wiht scripting and the tools you are using. As fo just in IIS, no, not really. To make sure that not just anyone can see all your files though, turn off directory browsing... btw, I think you should have posted this one in the IIS forum.

You can of course just force them to use windows authentication, or setup a username and password for each folder (on the server go to DRIVELETTER:\WINNT\System32\Inetsrv\inetmgr.exe
then you find the folder your serving that your interested in, right click on it in the left pane, select properties
Go to the Directory serurity tab, annoynmous access and authentication control and hit edit. From there you should be able to figure it out.

For what you seem to be trying to do though, I would probably just setup an SSH server and put scripts which start them out in the right directory, and give them no access to the others. then they just need to use their windows logins and it's secure. Although some might find it a bit harder to use.

Good luck,

-mwalts

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > Permissions on folders


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT