473,410 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

PWD protecting access to Word Docs via ASP and/or IIS?

I have a section of our site that I'm putting behind a password.

The template checks to see if a cookie was set, if not, it sends you to the
login page, where you enter in the pwd, and it sets the cookie allowing you
to then see the template page.

The template page sets a variable that each of the included content pages
then check for before loading.

So, as it's set up, you can not access the main template page nor any of the
content pages without the password. So far so good.

The catch is that each of these pages link to folders that contain several
documents. Is there a way to protect people from accessing these documents
(Word, PDF, etc.) from anywhere except one of the main content pages? Either
via ASP or a setting in IIS?

I set the entire folder up as an application which would protect the root
folder if I used ASP.NET, however, these pages contain a lot of legacy ASP
code, so I'd prefer to leave everything in ASP if at all possible for the
time being.

I know with apache you can block files from being loaded unless they are
called from a link on that same domain. Is there anyway to do that with IIS
and/or ASP?

-Darrel

Nov 18 '05 #1
1 1201
Aw crap. Sorry. Posted this in the .net forum when I meant to put it in the
asp forum. Sorry 'bout that!
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: nell | last post by:
Hi all, I've developed a testing application in python, and should supply it in a way that no one (lets say they are regular users) will understand it and edit it. The application source is all...
41
by: Ruby Tuesday | last post by:
Hi, I was wondering if expert can give me some lite to convert my word table into access database. Note: within each cell of my word table(s), some has multi-line data in it. In addition, there...
4
by: Otis Hunter | last post by:
I have been given an Access Database which contains a table that has an OLE object field that contains a Word document. That table contains hundreds of records. I would like to find out how I can...
0
by: ML | last post by:
Preface: I have looked at both "fax2k.mdb" courtesy of Michael Blake and John McKee et al. and "faxing.mdb" courtesy of Helen Feddema and thank them all for their good will and advice. ...
1
by: Paul Wagstaff | last post by:
Hi folks, Please forgive me - this straddles Access & Word '97 If I could, I'd send a (approx 1000 records) recordset to Word, mailmerge it & save the new document. However, Word's...
1
by: Deepankar Raizada | last post by:
Hi In one of our ASP.NET Application web form we are using the Microsoft.Office.Interop.Word COM DLL. We need to read some word documents and create rtf files and merge them together into one...
6
by: Howard Kaikow | last post by:
I'm doing a VB 6 project in which I am trying to protect against type mismatch errors. Is the process any different in VB .NET? Here's what I'm doing in VB 6. I have an ActiveX DLL. The...
12
by: Dr. Edmund M. Hayes | last post by:
I wrote a access program that works well enough that a handful of people would like to buy it from me. My problem is that if I sell it to someone there is no mechanism that I know of to protect...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.