Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protect ASP pages from download

Status
Not open for further replies.

s786787

Programmer
Nov 2, 2003
2
IN
I am working on a web site that uses ASP 3.0 with Microsoft SQL Server at the backend. ASP is used to query the database and fetch data and display it on the web page.

I am seeking a technique that can protect my ASP pages from being downloaded. What I mean by this is that when a visitor runs a search query on my site and the results are displayed on the web page with .asp extension I want to restrict the visitors from saving those pages on their hard drvies.

Is there a technique to restrict visitors from saving .asp pages, or may be a 3rd party component that does this.

Thanks for your help.


Best Wishes
S Nair
 
So here we are again.

[red]THERE IS NO WAY TO STOP ANYONE DOING THIS[/red]


search the forums! the question is asked about once a week!

thank you </rant>



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
they cant save your source code, which in turn only allows them to save the html output, which is about the same as letting them save a plain .htm page. no worries there. if you're severely worried about it, encode the data and throw it all in side a javascript eval statement, view source looks like gibberish, even the html, and stays that way even client side, makes for a couple extra steps for the client to make a translating page...so in turn, no if they realllllly want your html output, they got it one way or another. which is a little odd, the html output is what you're sending to them anyhow, so if you dont want someone saving it, easiest way to avoid it is: dont let them see it.

[thumbsup2]DreX
aKa - Robert
 
Out of pure curiosity, why in the world would anyone care who see's your HTML code.

 
If asp source code is the extent of any company's proprietary knowledge, I would say their business model is in bad shape.

It's asp, there is nothing special or extremely cmplicated about it.

Besides, his question essentially was, "how can protect my ASP pages from being downloaded," not "how to protect my source code from customers whom have purchased it."

The entire methodology behind using script encoder to restrict source views is a very poor security model.

Just my 2 cents,
- J

 
To back up HeyMaItsMe, take a look through some of the project recruiting sites out there and you will see tons of "Reproduce this site" jobs available.
I don't personally take those types of jobs, but any time you put something on a website you are givingthe end user the ability to look at the HTML source for that site (not the ASP source, tat stays on the server). really the only protection you have is copyright protection as a published work.
Given time any website logic can be duplicated and possibly improved upon. I have yet to see a site that does anything I could not duplicate.

-T

[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
Need an expensive ASP developer in the North Carolina area? Feel free to let me know.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top