Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 April 23rd, 2004, 05:59 AM
EchoUK EchoUK is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 48 EchoUK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 34 m 12 sec
Reputation Power: 5
Security for Database on Server?

Hi,

I have an online system using ASP which uses a database on the server to verify usernames and passwords and also stores system settings. I need to be able to write to the database to update settings and also need to read to get the values out to display or check.

I have this setup and working fine the problem is if I enter the url to the database into a browser I can download the file.

How would I go about making the database read and writable by the asp pages on the server but not downloadable?


Any help would be most appreciated

Thanks

Echo

Reply With Quote
  #2  
Old April 24th, 2004, 02:23 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: UK
Posts: 140 edwinbrains User rank is Private First Class (20 - 50 Reputation Level)edwinbrains User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 8 h 44 m 10 sec
Reputation Power: 5
Just place the database in a directory which isn't accessible from the Internet, ie: a directory above the website directory. Then, access the database with one extra "../" in the path.

Reply With Quote
  #3  
Old April 26th, 2004, 06:16 AM
EchoUK EchoUK is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 48 EchoUK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 34 m 12 sec
Reputation Power: 5
Thanks that works fine

Reply With Quote
  #4  
Old July 7th, 2004, 10:54 PM
george1 george1 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 12 george1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb IIS Authentication Filter

You may want to let an ISAPI filter map your users to NT accounts on the
fly instead of doing it in ASP. Depending on your needs, it may make life easier for you.

http://www.bestcode.com/html/bcauthenticate.html

bcAuthenticate is an ISAPI based Authentication filter for IIS 4,5,6.
It allows you put userid passwords in a database and manage them
individually instead of relying on Windows NT accounts. It uses ODBC
to access the database and map the users to NT accounts. It also caches
them in memory for specified amount of time so it is fast. It has a GUI admin
also.

Regards,
g.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Security for Database on Server?


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 3 hosted by Hostway