Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BBS

macrumors newbie
Original poster
May 31, 2008
8
0
Hello,

I would like to use Personal Web Sharing but I want it private. Is there any way to do that? And is there also any way to change the name?

http://123.456.7.8/~changethisname?

If I can't make it private, are there any other options out there?

Thanks a lot in advance! :)
 
OS X web sharing. :)

You could use htaccess

>create a new file named ".htaccess" in the directory you wish to hide. (Note this file becomes invisible as it is preceded by a full-stop, you'll need TinkerTool to display hidden system files).

>In this file type

Code:
Order Deny, Allow

Deny from all

Allow from localhost

What this should do is only let the hosting computer access the directory.


EDIT: You'll need to activate htaccess, see here. (Sorry if my suggestion turned out to be too complicated).

EDIT2: The name of the server may be changed in the "Sharing" pane of System Preferences.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.