Jump to content

Hide Source Code For Puzzle Cache


Recommended Posts

I've created a puzzle cache that utilizes image mapping. When you click on certain areas of the image it sends the user to another page on another server for the solution. Trouble is, most of the people who have solved it did so by looking at the source code and finding the link. Does anyone know a way to hide portions of the code to prevent this?

Link to comment

you cant hide HTML code, but you can make it so confussing who whould want to try to crack it. try using external .js files (javascript files) to just confuse the user. they whould have to look at that file....and then you can add another one inside of that one. and using the document.write line you can write HTML.

Link to comment

I like the phony links idea. Although, I recently tried to get a puzzle with a similar idea (links to an outside website) published and it was turned down because the guidelines apparently no longer allow re-direction to another website or requiring the download of software for the solution of a puzzle. We re-worked the puzzle and have been waiting to see if the revised puzzle works (I'm not holding out much hope at this point as it has been in review for 6 weeks now with no word)

Link to comment

I've created a puzzle cache that utilizes image mapping. When you click on certain areas of the image it sends the user to another page on another server for the solution. Trouble is, most of the people who have solved it did so by looking at the source code and finding the link. Does anyone know a way to hide portions of the code to prevent this?

There's simply no way to do it, client side. You can do a certain amount of obfuscation, but it's easily decoded.

 

Far easier than looking at the source, is to use Firefox's DOM inspector. Since the code in running in the browser, and the browser has to understand it, it's pretty much impossible to hide something from the DOM inspector. It will tell you the exact coordinates in the image of the hot spot.

 

You could have a large number of links, with all of them but one being a bogus link. But even then, there are link validators which will quick tell the good links from the bad.

 

If you really want to hide what you're doing (and can't use javascript), you have to go to the server side.

Link to comment

it was turned down because the guidelines apparently no longer allow re-direction to another website

 

I am not a reviewer, so I may be wrong here. I think it is not permissable to link to another website for which you do not have control. The reason being that the page could change without warning and therefore make it impossible for a cacher to complete the puzzle. However, I "think" it is allowed to link to a page you have created yourself and is under your complete control.

Link to comment

it was turned down because the guidelines apparently no longer allow re-direction to another website

 

I am not a reviewer, so I may be wrong here. I think it is not permissable to link to another website for which you do not have control. The reason being that the page could change without warning and therefore make it impossible for a cacher to complete the puzzle. However, I "think" it is allowed to link to a page you have created yourself and is under your complete control.

 

Hmm, you may be correct. The puzzle redirected the solver to a bogus web address that returned the standard "Page cannot be found error" There were clues in the bogus webpage address to other parts of the puzzle. Maybe the issue was that I didn't control the bogus address??

 

The reviewer only noted the following in the note to me: "All information to find a cache must be available from the cache page. Taking searchers off site to another web-page is not allowed either."

Link to comment

I've created a puzzle cache that utilizes image mapping. When you click on certain areas of the image it sends the user to another page on another server for the solution. Trouble is, most of the people who have solved it did so by looking at the source code and finding the link. Does anyone know a way to hide portions of the code to prevent this?

 

I check out your puzzle. Pretty cool, and fun to play with.

Like others have said, I guess I would setup 20-30 bogus links. At least if they are going to reast the source code, you can force them in to the tedious effort of checking every page.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...