Recently

Categories
By Topic
Categories
By Audience

Theme and CSS
IT Support
Hosting and comments

Wednesday, August 14, 2002

Protecting Radio Folders

A simple Meta tag to keep prying eyes from browsing weblog folders you don't want people to see.
Prevent Directory Browsing in Radio.

I think this should be an option built in to Radio, but it's relatively easy for you to do on your own. Here's the issue: Radio is a web content management system - when you add content to Radio, it automatically uploads that content to your website. For many users, their web site is hosted at http://radio.weblogs.com/. (Others, like me, host it at their own domain.) Radio maintains its content in a hierarchical folder structure. But relatively savvy individuals can type in your URL and add folders they want to "snoop" on - and Radio doesn't prevent this.

There's an easy way to do this: drop a text file into any folder you want to restrict access to. The text file is just a couple lines, and it includes a meta refresh command that forces the browser to load a new page. Here's my file - save it as index.txt, and drop it into any folder other than your "www" folder.

To try this out, try going to someone's Radio weblog and adding /categories after the URL. You'll now see all the categories they've set up. This isn't necessarily snooping, but there may be some private categories they've posted. (There are other examples, but hopefully you get the idea.) If you're the individual maintaining the blog in Radio, adding this text file to the folder will automatically redirect the browser to your site's home page.

Memo to Userland: I'd like this to be an option in the application itself. If I disable directory browsing, Radio should automatically drop this text file into any folder it creates.

[tins ::: Rick Klau's weblog]


Next Step -- The Personal VPN

I'm off into another area I don't know anything about -- VPNs. Now that I have Remote Access working for Radio I want to take the next step -- establishing a personal VPN for connection to my home network when I'm away. Several questions:
  • What does this require?
  • Am I right in thinking a VPN would allow secure access to my entire network at home?
  • Don't I need some sort of VPN or RAS server sitting behind my firewall and acting as a gateway to my other computers?
  • Does W2K Pro have this built in?
  • If not, what is the easiest way to do it?
  • Doesn't W2K Pro have a built-in VPN client?
  • Is this going to take longer, cost more?


Instructions For ifLocal Macro

Thanks Paul, I needed that. See this for background.
Blunt Force Trauma: Managing Local and Remote URLs in Radio. "I don't know anything about writing macros for Frontier so how would I create an ifLocal macro? For my reference mainly, as I don't fully understand the fix but I most definitely understand the problem -- it's bitten me a couple of times already." Shouldn't be difficult. Code of the macros was posted already:
on ifLocal (url1="/", url2=radio.macros.weblogUrl()) {
 if radioResponder.flSameMachine {return (url1)} else {return (url2)}
} 
Create file ifLocal.txt in Macros folder of Radio, copy this code there and you're done. Now you can use iflocal() in your templates. [toolbox]


Search this site:
August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep

Contact

Terry W. Frazier
1041 Honey Creek Road
Suite 281
Conyers, GA 30013
 
770-918-1937 office
404-822-6014 mobile

  Click here to send an email to the editor of this weblog.     blogchat: If diamond is GREEN click to chat

Wide.angle
K.log
Un.commontary
Tech.knowlogy
Legal
Body.politic
Books
Radio.active
Design.graph
Ref.useful
Atlanta.area