|
||||||
| Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I am creating a secure web page that buyers can go to after they pay to download the content. Is there a java script I can use to hide the web address so they cant tell others where to go and by pass my payment system? any help would be appreciated. The download page is hid from the other htm pages and not part of my links, but just would like to hide the address when the download page comes up to keep it simple.
pcdctr |
| Sponsored Links |
|
|
|
|||||
|
You could create a new window with the menu and navigation bar gone:
HTML Code:
window.open('http://www.codecall.net','CodeCall!','location=no','menubar=no')
For more info on this: Opening a New Window With JavaScript
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! Last edited by Jordan; 06-01-2007 at 10:13 AM. Reason: Added URL |
|
|||||
|
This is probably a better idea than the JavaScript route....
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
Do NOT use java script for such things!!!
java script is not intended to be used for security purposes. It can ( in most cases ) be disabled or manipulated! You can not hide the address where the user is downloading from - he can check it in many ways: - A download manager with a field showing that address - In the history of the browser - By using right click -> info ( depending on the browser, in firefox - View page info, Here is says: CodeCall Programming Forum - Reply to Topic: Address:http://forum.codecall.net/newreply.p...uote=1&p=19662 ...) - By some program/function allowing him to view your code/ the HTTP request text... - A lot more I can't think of right now. To perform this security: use user authorization for that address ( HTTP protocol supports it ) use some authorization made in a server side language and return application instead of text/html ( i.e. you can check IP, allow download only once, etc.) If you are trying to protect the resources that you allow someone to download and not the possibility to download this will not work AT ALL. If those resources are useful they will be uploaded illegally somewhere for free by someone in short period of time. Try protecting them with license and some inner defensive function. Good luck ![]() |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Address Book project with out using database. | rs loader | Visual Basic Programming | 1 | 09-06-2007 01:49 PM |
| [Added]E-mail a copy of this message to your own address | aravot | easyContact | 2 | 08-29-2007 10:51 AM |
| Hide form on startup? | NeedHelp | C# Programming | 7 | 09-02-2006 06:28 PM |
| Validating an email address | kromagnon | PHP Forum | 2 | 07-30-2006 11:24 AM |
| IP Address | NeedHelp | PHP Forum | 3 | 05-03-2006 01:13 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |