permaculture playing cards*
The moose likes Ruby and the fly likes Encrypting source code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Encrypting source code" Watch "Encrypting source code" New topic
Author

Encrypting source code

santoshkumar savadatti
Ranch Hand

Joined: Apr 27, 2010
Posts: 95
I am planning to use a free hosting service to test my App before actually deploying it.
is there a way to secure my code?(shared server....unreliable)
Thanks
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1364
    
  17
I don't know if there is a way to encrypt source code, as it's not something I've ever considered doing (or needed to do).

Is your code very secret? Would it be a terrible thing if someone saw it?

Is it possible to put things that are secret (database passwords etc) in-memory only?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42365
    
  64
Are you trying to guard against rogue sys admins, or do you suspect that the security is so bad that the other users/apps on that server might be able to get at your files? Either way, I advise to select a different provider (or a different hosting plan) that you have trust in.


Ping & DNS - my free Android networking tools app
santoshkumar savadatti
Ranch Hand

Joined: Apr 27, 2010
Posts: 95
Well, its not secret.
I was considering "sandbox" like feature offered by a hosting company for free.As we all know, free comes with its own cost
But luckily, another friend of mine(reliable,longtime friend) has offered me free hosting for the initial couple of months.That should be enough to test my App.
And thanks for the replies
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1364
    
  17
I use Heroku for ruby apps and am very happy with it. This is great for testing apps, as well as apps that have launched but have relatively little traffic.
It's free until you need more dynos or workers.

http://heroku.com/
santoshkumar savadatti
Ranch Hand

Joined: Apr 27, 2010
Posts: 95
Thanks katrina.
I'll try it
santoshkumar savadatti
Ranch Hand

Joined: Apr 27, 2010
Posts: 95
How many Dynos and Workers will be sufficient if i have about 100 visitors a day?
Thanks.
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1364
    
  17
It depends on what each user is doing.

One dyno and zero workers should be enough if it's just normal usage. A single dyno can usually serve about 15 requests per second.

However, if you have some requests that are doing heavy duty processing, for example, in one of my applications a single request can make several thousand calls to an external API, which means that during that time, the dyno is unable to serve any other requests.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encrypting source code