You are here

Locking out right-click

12 posts / 0 new
Last post
varxtis
Offline
Last seen: 8 years 9 months ago
Joined: 2010-02-01 12:36
Locking out right-click

I don't know what the specific term would be, but is there any way to block/lock-out the right-click option in the PAP, like adding a script to an ini file or something? After Ive hidden an App on the list, I dont it being unhidden.

J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Not secure

If you are trying to hide a particular application from someone else, making it hidden on the menu isn't a very effective method.

All they have to do is fire up ANY explorer (even the one on the menu itself) and they will be able to see everything on the USB drive, including any applications you have hidden from the menu.

They say that the most dangerous knives in the kitchen are the dull ones. Please, if you want to secure something, don't use a dull knife. It is sure to get you into trouble.

neutron1132 (at) usa (dot) com

varxtis
Offline
Last seen: 8 years 9 months ago
Joined: 2010-02-01 12:36
lol

Ya, I know. Its not a big issue, especially in privacy, but. . . im kind of wanting to create a presentation type setup, where the Portable App Platform will have a number of files listed, and I just kind of wanted to limit what is accessed. If anyone REALLY wants to, then ya, they'll see other stuff. Also I plan to either use an encryption program or file/folder lock program to block access from going through the drive. Nothing will be on the drive that will be private, but. . . Is there a way to cancel out the right-click option?

J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Dunno

I don't know of any way to disable right-click.

Maybe someone more familiar with the inner workings of the menu could suggest a work-around.

neutron1132 (at) usa (dot) com

NathanJ79
NathanJ79's picture
Offline
Last seen: 4 years 10 months ago
Joined: 2007-07-31 15:07
Faster, better solution

It would just be cheaper for you to buy the cheapest Corsair flash drive you can get on the Egg, put the PA.c menu up there and just the apps you need, then you don't have to worry about privacy... or the drive turning up missing. Privacy? Your personal flash drive in your pocket.

For starters, the PA.c menu is written in a language that costs hundreds of dollars to compile... it may be open source but it's far from free to edit unless you already have the program for other uses...

varxtis
Offline
Last seen: 8 years 9 months ago
Joined: 2010-02-01 12:36
Youre right

Ya, i didnt really take that into consideration. Its a beautiful program, and I never really thought about the work that goes behind it. Thanks ^_^ I won't try to mess with it then.

gluxon
gluxon's picture
Offline
Last seen: 4 years 3 months ago
Developer
Joined: 2008-06-21 19:26
AutoHotKey can do it Here's

AutoHotKey can do it Smile
Here's the program. I've made it a mod of StartPortableApps.exe

So just replace the StartPortableApps.exe exectuable.

http://www.bensawsome.com/downloads/store/users/gluxon/Other/StartPortab...

I originally made this for disabling right-click on the desktop.

It only works if you have the following File Structure.

\SomeFolderOrDrive
   StartPortableApps.exe (Hacked)
   \PortableApps
                \PortableApps.com
                                 \PortableAppsPlatform.exe

As long as StartPortableApps.exe is in the same folder as the PortableApps, you're fine Smile

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
Source

You really should provide the source code for it, gluxon.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Bruce Pascoe
Offline
Last seen: 12 years 11 months ago
Joined: 2006-01-15 16:14
Looks like...

He just wrote a whole new StartPortableApps.exe in AHK, rather than recompiling the official one. If that's the case, that means it's not a derivative work and thus he doesn't have to provide the source if he doesn't want to, although it would be nice. Smile

varxtis
Offline
Last seen: 8 years 9 months ago
Joined: 2010-02-01 12:36
if thats the case

if that is the case, wouldnt that be infringing on some sort of copy-right? Im not trying to point fingers, Im honestly curious cuz at one time I was considering removing the Portable App Logo, but thought that any changes like that would be infringement.
edit ~ To Gluxon: Works beautiful man, thnx ^_^

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
Policy

It's a matter of policy more than any derivative work (though trademark law also then comes into it). We only (with category exceptions, but this doesn't fit into such a category) accept open source software.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

gluxon
gluxon's picture
Offline
Last seen: 4 years 3 months ago
Developer
Joined: 2008-06-21 19:26
Ahhh... I DELETED the

Ahhh...

I DELETED the source!!! Blum

For the curious, here's about what I had. There was also really simple NSIS coding in there too. I just used it since NSIS can actually set the AppID stuff. So it looks like the real StartPortableApps.exe

StartPortableApps.exe (NSIS) launches HangRC.exe and then PortableAppsPlatform.exe with ExecWait, then kills HangRC when PortableAppsPlatform.exe closes. There Blum

HangRC.exe:

#IfWinActive, ahk_class TfrmMenu
	RButton::
	return
#IfWinNotActive, ahk_class TfrmMenu
Log in or register to post comments