ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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 Dev Shed Forums Sponsor:
  #1  
Old August 27th, 2003, 05:16 PM
nathanfarney nathanfarney is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 nathanfarney User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
validation for .pdf and other file types on my site

Please forgive my ignorance, but my asp developer is on vacation and I am clueless (as you will see).

I've made a website in html and we've converted it to .asp solely because we needed to secure the site with a login page.

Basically he did some work on the site and then asked me to include the following code at the top of all my new html pages (I've also renamed them all ".asp")

<% Server.Execute ("/training/includes/testLogin.asp") %>

"training" is the top level directory of the site.

This works great for my html pages, but the problem is that I don't know how to apply this to .pdf and non-html pages. These pages are linked to from the secure html pages, but are not secure themselves. I need to secure them. I've figured out (I think) that I need to put an html header at the top of each document page and include the above script, but I'm a) not sure if I'm right and b.) not sure how to do it.

We are running IIS 5 and the login validation refers to a simple Access database with username/password for each approved user.

Can anyone help me out? Thanks very much!

Last edited by nathanfarney : August 27th, 2003 at 05:18 PM.

Reply With Quote
  #2  
Old August 28th, 2003, 12:41 AM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 6
Send a message via AIM to unatratnag
here we go again... It is not possible to prevent anyone from downloading anything you make available via http

* you can't, you can't, you can't you can't you caaaaannnn't *

stress on *you* mabye you can figure out something tricky with headers and https but.... nope, i can't think of a way right now and it's not worth investigating, you'll need to wait for you asp programmer to get back. Besides, how the hell is anyone gong to know the link to this stuff if they can't get into your sites without correct authorization?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > validation for .pdf and other file types on my site


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