











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
| Author |
Secure web files in ASP
|
ddd
REXQME!!!

Registered: Jun 2001 Location: Country: Australia State: Certifications: MCP's, CIWA, CIWP, MCIWD, CIWCI Working on: MCIWED, MCSD, XML,
Total Posts: 199
|
|
Secure web files in ASP
hey ppl
i have a bit of a dilema. I need to secure some files so only people with access can download them. The site is hosted with an ISP and there is a database directory without http access. But how could i stop anyone accessing some files (e.g typing the path in a browser).
The other information pages and links are all secure using session logins, but this doesn't solve the problem of keeping files (xls, ppt,etc)secure.
Can anyone help? I am reallllyyy desperate!
Report this post to a moderator
|
|
11-30-01 07:47 AM
|
|
wccalvin
Junior Member
Registered: Oct 2001 Location: Country: United States State: IL Certifications: CCNA Working on:
Total Posts: 2
|
|
possible
There might be one possible solution. You may use 2 pages. The first page should be one one independent browser without navigation bar and menu bar. This browser will submit or link to the second page. The second page is the key page which determine whether the files could be downloaded. You can check the user information from session or cookie. Whatever your criteria will be. Hope this may help.
Calvin
Report this post to a moderator
|
|
12-07-01 01:00 PM
|
|
ddd
REXQME!!!

Registered: Jun 2001 Location: Country: Australia State: Certifications: MCP's, CIWA, CIWP, MCIWD, CIWCI Working on: MCIWED, MCSD, XML,
Total Posts: 199
|
|
people can still type the url in though and directly access the files. I already have the site protected using logins and session variables, but the actual files can still be accessed directly because they are not web files and I can't write ASP into them to not allow people in without the session variable.
I think it might be pretty much impossible on an external web host who wont setup NT directoy access for you.
Report this post to a moderator
|
|
12-08-01 12:13 AM
|
|
wccalvin
Junior Member
Registered: Oct 2001 Location: Country: United States State: IL Certifications: CCNA Working on:
Total Posts: 2
|
|
Humm
I think the reasons I used 2 ASP pages to redirect the download is that nobody can see the URL for download. And that's why you use the 2nd page to direct the download process. Besides, in the 2nd page, there is one way to check out the access right. But of course, you need to setup your access control system. It's really hard to explain it just in word. Keep thinking about it. I don't think there is any problem cannot be solved in the world.
Report this post to a moderator
|
|
12-08-01 12:31 AM
|
|
gauravgoyalus
Junior Member
Registered: Nov 2001 Location: Country: India State: Certifications: Working on:
Total Posts: 1
|
|
|
12-08-01 03:57 AM
|
|
ddd
REXQME!!!

Registered: Jun 2001 Location: Country: Australia State: Certifications: MCP's, CIWA, CIWP, MCIWD, CIWCI Working on: MCIWED, MCSD, XML,
Total Posts: 199
|
|
I know they wouldn't be able to see the URL, but the files are very sensitive and my client doesn't want to take any chances. H has just changed hosts, and they will setup directory access permissions for us through NT. I'm going to have the users login and give them a generic u/n and p/w to access that directory..........
thanx anyway guyz
Report this post to a moderator
|
|
12-09-01 01:03 AM
|
|
mcp_mcse
New Generation Helper

Registered: May 2001 Location: Country: United States State: Certifications: MCSE, MCSD, MCDBA, CCNA, CCNP, A+, N+, Server+, CIW, iNET+ Working on: Oracle
Total Posts: 167
|
|
|
12-09-01 05:57 AM
|
|
|
Click here for list of MCSD
study guides and order yours now!
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|