Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encrypting source code

 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks katrina.
I'll try it
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many Dynos and Workers will be sufficient if i have about 100 visitors a day?
Thanks.
 
Katrina Owen
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic