Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic 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 August 14th, 2003, 02:29 PM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to lupino@europe.com
Default Remote Include file

Hi,

is there a way one can include file from a different server
instead of


i would need something like

 ( this is not working, though )

in other to safeguard my code from being copied by an unauthorized person.

Thanks for any hints,

Lubos

 
Old August 14th, 2003, 02:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

>is there a way one can include file from a different server

I don't think so, but if you want to protect your stuph, check out script encoder...

Overview:
http://msdn.microsoft.com/library/de...eroverview.asp

Download:
http://www.microsoft.com/downloads/d...displaylang=en

HtH

~Jonax
 
Old August 15th, 2003, 03:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you can access the server directly then you would be able to include your ASP file remotely, for example:

The problem with using a URI is that you are going through the web server, which will attempt to process the ASP before you receive it.

Another way round would be to change the file's extension from .ASP to something like .INC. This way the file will not be processed until it is included.

Unfortunately it does mean that if anyone types in the URL http://www.something.com/_storefuncs.inc they will be able to download you file without the web server processing your ASP.

Regards
Owain Williams





Similar Threads
Thread Thread Starter Forum Replies Last Post
Include file morpheus BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 23rd, 2006 08:20 AM
difference between include file & include virtual crmpicco Classic ASP Basics 2 January 23rd, 2006 11:50 AM
Include File morpheus Beginning PHP 8 January 17th, 2006 09:30 AM
include file in if statement isheikh BOOK: Beginning ASP 3.0 2 April 11th, 2004 09:49 AM





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