SnapStream Forums

Go Back   SnapStream Forums > Archive > Beyond Media Downloads
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-20-2005, 04:30 PM
Administrator
 
Join Date: Nov 2004
Posts: 174
[plugin] PIN Support for ALL Modules... (Feb 2 Update)

THIS IS A GREAT WAY TO PIN PROTECT YOUR SETTINGS SCREEN

Author: Brett. Also thanks to Draven, creator of the awesome Dark Blue Skin for BTV and BM, for the lock image.
Short Description: Adds a simple PIN screen to any desired module you setup.
Version Number: 1.1
Status: Stable.
Last Updated: 2/2/04
Homepage:

This module is intended to be used with modified Beyond Media XMLs or other plugins. As an example, I have included a file below that will automatically do it for Beyond Media settings, it sets the password by default to 1234. Please NOTE you must replace the sample file with Beyond Media closed!

The following are instructions on how I modified the XML. You can use these instructions within plugins you create or modify the XML yourself to protect various other modules.

To kick things off you must first install the module by clicking on the download below. Alone, it will do nothing. You must either pair it up with another plugin, copy the sample xml, or modify your own xml for the PIN screen to work.

CUSTOM IMPLEMENTATION OF PIN PROTECTION

The next reading is optional, but explains what I did to make the attached sample menues.xml file...

CLOSE BEYOND MEDIA and open up the file:
C:\Documents and Settings\All Users\Application Data\SnapStream\Beyond Media\Menus.xml

You should see stuff like for example photos:
Code:
    <MenuItem Label="Settings" Image="SSBM_MainMenu_Settings">
      <MenuItem.Action>
        <ShowScreen Screen="SettingsScreen"/>
      </MenuItem.Action>
    </MenuItem>
Now change it to startup PINScreen. For the arguments you want to have the original screenname (ie: SettingsScreen) followed by a comma with a NUMERIC PIN code. Optionally, you can add another ',' with text to display in place of "The Module is PIN Protected", as I did below.

Code:
    <MenuItem Label="Settings" Image="SSBM_MainMenu_Settings">
      <MenuItem.Action>
        <ShowScreen Screen="PINScreen" ScreenArgs="SettingsScreen,1234,Settings are Locked" />
      </MenuItem.Action>
    </MenuItem>
The REST is for FIREFLY USERS ONLY
This only applies for the DVD/Photos/Video/Music modules

First you will need to close FireFly (using the taskbar) and place this updated profile in:
C:\Documents and Settings\All Users\Application Data\SnapStream\Firefly\Profiles\

You also need to close Beyond Media and place this new input mapping in:
C:\Documents and Settings\All Users\Application Data\SnapStream\Beyond Media\

Make SURE to backup your other files!

You can now edit InputBindings.xml to insert passwords similar to how you did it for Menues.xml

Modify the code in the same way as above, such as:

Code:
<FireflyBinding Button="Photos">
<FireflyBinding.Action>
        <ShowScreen Screen="PINScreen" ScreenArgs="PhotoScreen,1234"/>
</FireflyBinding.Action>
</FireflyBinding>
Hope this all makes sense! Its a very basic PIN module. Just type in the PIN when the screen appears, if you get it wrong just hit enter, it will blank it out and you can try again, escape will take you back. There is atleast one known workaround already, if the user completely exits BeyondMedia and hits Photo/DVD/etc on FireFly it will go directly to that module, its the only loop I know of though. So if you disable the red button on your remote, and hide "Exit" you should be fine.

DOWNLOAD NOW

SAMPLE MENUES.XML THAT PROTECTS THE SETTINGS SCREEN (YOU MUST EXIT BEYOND MEDIA FIRST!)


Last edited by Brett; 02-09-2005 at 08:37 PM.
Reply With Quote
  #2 (permalink)  
Old 01-20-2005, 04:36 PM
Administrator
 
Join Date: Dec 2004
Location: Houston, TX
Posts: 2,291
Send a message via AIM to Kilrsat
Re: [plugin] PIN Support for ALL Modules...

A quick idea to prevent reading the PINs from the XML files by people that shouldn't be allowed to do that.

Create a user account such as BeyondMediaAccount. Set the NTFS permissions on the necessary files to only allow reading/writing from the BeyondMediaAccount.

Login to the system under a normal user account.

Hold down shift, right click on the BeyondMedia icon.
Select the "Run As" option to start BeyondMedia under the BeyondMediaAccount.

Tada, now Beyond Media can read those files but a regular user can't.

I think "Run As" may only be available on XP systems. Its been awhile since I've played with a 2k machine to be sure though.
__________________

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Reply With Quote
  #3 (permalink)  
Old 02-02-2005, 04:09 PM
Brett's Avatar
l33t Beta Tester
 
Join Date: Feb 2003
Posts: 3,919
Send a message via AIM to Brett
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

I have updated this module. It has an additional "optional" field that lets you define the text on the screen. It has a cool lock image (thanks Draven!). And it no longer requires you to press 'esc' twice once you entered the module.

-Brett
__________________
A Sample of My Beyond Media Projects:

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Browse and play your ROMS, Arcade Games, and PC Games within BM!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Add MSN Messenger to BM. Includes MSN notifications over any module, and a chat client!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Add PIN protection to any module in BM, including the settings!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Brings the BTV Recording Library into BM with full show details.
Reply With Quote
  #4 (permalink)  
Old 02-03-2005, 09:52 AM
Registered User
 
Join Date: Oct 2004
Posts: 389
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

Brett, would it be possible for you to echo a mask character to the sceen when a PIN character is entered? I keep the UI sounds off so I can't determine whether the keypress is picked up or not. An idea for future. Thanks a lot.
Reply With Quote
  #5 (permalink)  
Old 02-04-2005, 04:28 AM
Registered User
 
Join Date: Dec 2003
Location: England
Posts: 377
Send a message via MSN to mickwall
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

Brett

I have some code in my EMAIL module that does this if you want to share it.

Mick
__________________

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Allows viewing/deleting of POP, IMAP and Hotmail based mail.

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Allows viewing status of all tuners in alll BTV servers from BM Main Menu
_______________
BTV Server (BM 1.0 + BTV 3.52 2 PVR 250 tuners)
Asus MB | XP Pro SP2 | P4 2.8 | FX5200 128Mb | 512 Mb PC3200 | RAID 5 4 x 250Gb SATA drives | CM Water cooled
Reply With Quote
  #6 (permalink)  
Old 02-05-2005, 10:13 AM
draven's Avatar
Registered User
 
Join Date: Jun 2004
Location: always on the road
Posts: 525
Send a message via ICQ to draven Send a message via AIM to draven Send a message via MSN to draven Send a message via Yahoo to draven
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

Quote:
Originally Posted by Brett
It has a cool lock image (thanks Draven!)

-Brett
Just a small contribution to a really cool set of plugins, but glad I could help.
__________________
AMD Phenom 9500 quad core | Asus M2N-SLIMotherboard with NVidia chipset | HDHomeRun | PVR 500 | PVR 150 | HD PVR | 2 X Western Digital 500 GB SATA | GeForce 8800 GTS video card | 2 GB RAM | Pioneer Blue Ray/ DVD RW combo drive | 600 Watt Power Supply | 3 X External HDD | Windows Vista Home Basic | Firefly mini receiver/ Harmony 659 |


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


Last edited by draven; 02-05-2005 at 05:19 PM.
Reply With Quote
  #7 (permalink)  
Old 02-23-2005, 10:45 PM
Registered User
 
Join Date: Dec 2004
Posts: 70
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

I don't know if this is relavent but:

will this plug work to deny people access to certain folders? for example in my videos folder in BM i have some that I want locked so only i can view them. is this possible? Anyway to create a wizard for dummies like me to do this if it is possible? me and computer code don't go well togeter.....
Reply With Quote
  #8 (permalink)  
Old 02-23-2005, 10:55 PM
Brett's Avatar
l33t Beta Tester
 
Join Date: Feb 2003
Posts: 3,919
Send a message via AIM to Brett
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

Unfortunately no this will only work to block entire screens (ie: modules). So you could block the "browse" option but not individual folders.

That said, a crafty developer could integrate it into his screen and do stuff like you suggested. For example, Jason has integrated it into the DVD Library plugin so that it only locks certain movies.

To respond to the rest of the comments here, I would like to update this to add *'s and a little more, but right now I have a priority list a mile long, and this is more of a "functional" plugin then really a feature plugin.

-Brett
__________________
A Sample of My Beyond Media Projects:

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Browse and play your ROMS, Arcade Games, and PC Games within BM!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Add MSN Messenger to BM. Includes MSN notifications over any module, and a chat client!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Add PIN protection to any module in BM, including the settings!


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Brings the BTV Recording Library into BM with full show details.
Reply With Quote
  #9 (permalink)  
Old 01-22-2008, 08:37 AM
Registered User
 
Join Date: Jul 2007
Posts: 12
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)

Quote:
Originally Posted by Brett View Post
Unfortunately no this will only work to block entire screens (ie: modules). So you could block the "browse" option but not individual folders.

That said, a crafty developer could integrate it into his screen and do stuff like you suggested. For example, Jason has integrated it into the DVD Library plugin so that it only locks certain movies.

To respond to the rest of the comments here, I would like to update this to add *'s and a little more, but right now I have a priority list a mile long, and this is more of a "functional" plugin then really a feature plugin.

-Brett
So why not post code and let some us of have at it. This product and its plug ins would be so much better if we could convince more ppl to share. What is the downside of sharing code?
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[plugin] MSN Messenger (Mar 31 Update) SSDNAdmin Beyond Media Downloads 32 10-09-2008 12:14 AM
[plugin] BMTunerView (Feb 8 Update) SSDNAdmin Beyond Media Downloads 70 10-09-2008 12:09 AM
[plugin] LCDSmartie Support for BTV (Sept 14 Update) SSDNAdmin Beyond TV Downloads 159 05-27-2008 06:48 PM
[plugin] NHLScores (October 30 Update) Kilrsat Beyond Media Downloads 36 10-30-2007 10:11 AM
[plugin] Comics (Jan 3 Update) SSDNAdmin Beyond Media Downloads 56 11-08-2006 09:12 PM


All times are GMT -6. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media
You Rated this Thread: