If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > encrypt bash shell script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-10, 03:02
jewel321 jewel321 is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
encrypt bash shell script

Dear all

I want to encrypt my shell script so that user can only execute it but not view/edit. I m using bash shell.
Please send me ur kind solution

Regards

jewel
Reply With Quote
  #2 (permalink)  
Old 06-08-10, 09:19
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
There isn't a solution. The script is interpreted and must be readable by the user. There are products that can obfuscate the script. You can also try shcomp (included with ksh93) to compile the script. It will not prevent a sophisticated user from decompiling it though. KornShell
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On