razzeee / xbmc-test

0 stars 0 forks source link

Password protected shares (4-digit pin?) #34

Closed razzeee closed 7 years ago

razzeee commented 7 years ago

Reported by Gamester17 on 3 Oct 2003 14:01 UTC

Password protected local & remote shares (4-digit pin?).

There are many ways this could be done, see here: http://sourceforge.net/tracker/index.php? func=detail&aid=684417&group_id=64793&atid=508681

Migrated-From: http://trac.kodi.tv/ticket/34

razzeee commented 7 years ago

Comment by xc_d-ice on 7 Oct 2003 12:40 UTC

Logged In: YES user_id=772724

Should not be that hard to add... We just need the function in RelaX or other like it.

Then we just have to make a function that check if there are a password on the selected folder, and then bring up the virtuel keyboard so the user can type in the password... and mabe a function, so if the password is typed in wrong 3 times, the folder gets locked (new password on the server required) and the xbox power off :D

razzeee commented 7 years ago

Comment by gamester17 on 7 Oct 2003 12:48 UTC

Logged In: YES user_id=630186

The password does not HAVE to be on the server side, though it would be a plus if it was added as an option.

Virtual keyboard is ok, but start simple with DVD-remote only

razzeee commented 7 years ago

Comment by zordon1969 on 10 Dec 2003 18:33 UTC

Logged In: YES user_id=928343

This feature would be handy, and I would not imagine it would be that hard to implement, in XBMC (Im no coder so I may be wrong).

Rather than server side like relay etc, this could be implimented in xbmc,

A pin could be specified in the share tag in XboxMediaCenter.xml

eg

Relax xns://192.168.1.2:1400/e:/my music/ 1234

When opening shares XBMC could check for the presence of a

tag and if present display a box asking for the pin to be entered. This would be handy for users of remote controls. However if it works it could be expanded with another tag for game pad only users, there pin could be made up from a combination of ybxa buttons. This would obviously not be as secure as this remote option, as there are only 16 combinations. But it should stop casual browsers from accessing these shares. However you could also include left/right triggers, and the black and white buttons to increase security. Obviously one the one type of pin should be specified for each share, or this would conflict. A way to avoid conflicts would be to have an option in the somewhere in the xml file like remote the available options could be remote or pad. Then the share would just have the following: Relax xns://192.168.1.2:1400/e:/my music/ 1234 I only wish I could do this myself as this feature would be very handy. And the benefit of doing this way rather than integrate it with relax is that any share could be protected. DVD, Hardisk, SMB.. Just another thought, if it makes it easier, all shares should have the pin option however if the pin specified is 0000 then XBMC should not prompt for the pin to be entered..
razzeee commented 7 years ago

Comment by nuendo on 10 May 2005 22:42 UTC

Logged In: YES user_id=692875

12-12-2004 added: Patch 1079275 Add share locking ability, thanks to slacker.