Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Java Help

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-01-2007, 12:13 AM
pcdctr pcdctr is offline
Newbie
 
Join Date: May 2007
Posts: 10
Rep Power: 0
pcdctr has disabled reputation
Default Hide web address

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 06-01-2007, 12:30 AM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,470
Last Blog:
Joomla! And Incompeten...
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

I'm not sure if JavaScript is the way to go. What you want to do is create a user system with access permissions. After a user pays he is granted special permissions to that section of the site.

Not very hard to do with PHP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 10:12 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

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')
But I think the URL will still show up in history.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 10:14 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Quote:
Originally Posted by Sidewinder View Post
I'm not sure if JavaScript is the way to go. What you want to do is create a user system with access permissions. After a user pays he is granted special permissions to that section of the site.

Not very hard to do with PHP.
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-02-2007, 07:38 AM
oubless oubless is offline
Newbie
 
Join Date: May 2007
Posts: 22
Rep Power: 6
oubless is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



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

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

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


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

Contest Stats

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

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads