Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2004, 06:00 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Secure Folders

Hello!

This is Zeeshan Ahmed from itHighway. We need a wayt to protect a couple of folders from directly being accessed. One folder will contain "images" and the other folder will contain "Text files".

Right now if someone directly type the http address of image or text file, it opens the file in browser. We need a way to protect image and text file folder. But on the other hand we also want our administrator to access these files after login in to his account.


Do we have to set some permissions to server?

Any Idea...
Any Help....
Will be greatly appriciated..


Thanks
Zeeshan Ahmed

 
Old December 15th, 2004, 06:07 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;Right now if someone directly type the http address of image or text file, it opens the file in browser

IMAGES: Even if you can stop this, we can get them another way. If images are showing on your web page, we can download them at least one of several ways.

Wind is your friend
Matt
 
Old December 15th, 2004, 06:23 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Quote:
quote:Originally posted by mat41
 ;;;Right now if someone directly type the http address of image or text file, it opens the file in browser

IMAGES: Even if you can stop this, we can get them another way. If images are showing on your web page, we can download them at least one of several ways.

Wind is your friend
Matt

The only thing I want is, no one can directly access the files by typing the complete URL of image or file in the browser

 
Old December 15th, 2004, 10:49 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Im sure you can do this however Ive never had the need myself. I would lock down that folder for the IUSR then:
1..test n unlock slightly
repeating step 1 untill...

Wind is your friend
Matt
 
Old December 16th, 2004, 07:56 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Check my response to this query here: http://p2p.wrox.com/topic.asp?TOPIC_ID=23599

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old December 16th, 2004, 05:12 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

itHighway
Please do not cross post

In reference to your answer there; Diretory browsing should never be enabled unless you want to file share and give your network administrator headaches. If this was enabled disabling this will not solve your problem.



Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure Download MunishBhatia ASP.NET 2.0 Professional 8 June 15th, 2007 09:16 AM
Secure Ajax pmyhre BOOK: Beginning Ajax with ASP.NET 0 February 1st, 2007 05:45 PM
Secure calvados Pro VB.NET 2002/2003 0 January 13th, 2005 08:40 AM
secure connection (HTTPS) yoclee BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 July 12th, 2004 01:11 AM
Secure FileManager yingmingming BOOK: ASP.NET Website Programming Problem-Design-Solution 0 February 16th, 2004 11:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.