Description of OBFUSCATDownload count: 14 this month, 2294 altogether.
Downloads for OBFUSCAT:
The essential files in this package are
The OBFUSCAT package helps you create pages on the World Wide Web which are publicly accessible but which include portions that are not directly accessible. A visitor to the web site can thus be restricted to viewing the pages in certain orders. In particular, the method eliminates the potential for viewing a subpage in unknown context, e.g. via a link from another web site or via a hotlist entry. OBFUSCAT EXEC is a REXX program intended for use with a web page residing on VM in multiple Shared File System directories. One directory contains files which are to be publicly available, but to which you desire that surfers have no direct access. Surfers may view pages and images in this directory, but only by following links from pages in another of your directories. Frequently, for example every night, run OBFUSCAT EXEC. It scans through the no-outside-links directory and renames each file to some random set of characters. The program then scans each file in both directories, finding hypertext links and references to the former name of each file, and updating all such links and references to point to the new file name. The random file names are chosen to avoid duplication. The result is that all links from other sites and hotlist entries work if pointing to files in the second directory, but the only working links to files in the first directory will be those links from within the directories updated by the program. Why would anyone want such a program? You might want to...
ImplementationPut your web files into two SFS directories, one for which external links are allowed and one for which external links are undesirable. Then you need to modify two lines in OBFUSCAT EXEC to point to your directories. Here is an excerpt from the program, showing the lines you must change:
/* Randomize files in this directory */
TARGETDIR = "SERVK1:TGREER1.WEBTEST.OBFUSCUS"
/* Update anchors in this directory */
OTHERDIR = "SERVK1:TGREER1.WEBTEST"
The variable TARGETDIR holds the name of the directory for which
external links to files therein are not desired. That is, TARGETDIR
is the no-outside-links directory. OTHERDIR holds the
name of the directory where external links are ok.
Of course, you will probably want to modify the program more than that. For example, you may want to scan more than just two directories. You may also want to search for other types of HTML tags. You may also want to work on other platforms, so I include an OS/2 version too, OBFUSCAT.CMD. Both OBFUSCAT EXEC and OBFUSCAT.CMD have undergone some minimal testing, but only in the author's environment. I encourage you to test carefully in your own environment, even if you do not make any modifications other than those required for TARGETDIR and OTHERDIR. Feel free to e-mail the author with suggestions and bug reports. I'd like to know you are using my program. However, since the program works for me and pretty much does what I need, it's fairly unlikely that I'll be coming out with new, improved versions. Finally, a wee little warning. This program does rename files in the TARGETDIR directory. This makes those files inconvenient to modify (because you can't find the $%&@#+! file!), and makes the HTML links from other files to them unrecognizable. There are ways to handle this, e.g. keep "originals" in other directories, or modify OBFUSCAT EXEC to keep the original names somewhere. But do plan ahead.
|