Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > ASP and ASP.NET
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 10-05-2009, 09:26 AM
  #1
Sunnah
Paladin (Level 15)
 
Sunnah's Avatar
 
Join Date: Jan 2005
Location: USA, Virginia
Posts: 334
iTrader: (0)
Sunnah is on a distinguished road
Question Prevent Direct Linking

How is this achieved- securing an entire PDF folder from direct linking? I have a Windows server running IIS. I want to prevent users from trading my member only content access to PDF docs in a folder.

I saw this example on the Better Homes site. What technology is being used?

<!--Display if Chunk Link-->

<a href="http://www.bhg.com/servlet/securePdf.dyn?file=/bhg/securepdf/gp_familybackyard_032905.pdf">Click here for a detailed Planting Guide for this garden</a>

<!--End Display of Chunk Link-->
__________________
-=SunnaH=-

Last edited by Sunnah : 10-05-2009 at 01:32 PM.
Sunnah is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-08-2009, 05:47 AM
  #2
JosephJames
Fighter (Level 4)
 
Join Date: Aug 2009
Posts: 37
iTrader: (0)
JosephJames is an unknown quantity at this point
If you are using asp.net membership provider, you can set a directory to be accessible only to logged in users. You can use ASP.net Configuration button in the solution explorer to do that.
JosephJames is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-09-2009, 10:52 AM
  #3
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
or you can use a HttpModule to control the access
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  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 Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 12:54 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.