Best way to time-limit a rails/ruby application

W

Warren Seltzer

------=_NextPart_000_0100_01C5E59A.4773C1A0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Some "Customers" just don't like to pay their contracting bills. What's the best way for
me to time-limit a ruby/rails application so it stops working if they don't pay their
bills?

Warren


------=_NextPart_000_0100_01C5E59A.4773C1A0--
 
S

Stephen Waits

Warren said:
Some "Customers" just don't like to pay their contracting bills. What's the best way for
me to time-limit a ruby/rails application so it stops working if they don't pay their
bills?

Don't give them root?

--Steve
 
E

Eric Hodel

Some "Customers" just don't like to pay their contracting bills.
What's the best way for
me to time-limit a ruby/rails application so it stops working if
they don't pay their
bills?

Get better customers.

Write the large pieces of the program in C so they cannot use the
power of Ruby to work around a small bit of C or Ruby that disables
the application.

(ZenObfuscator might help, but it is not released.)
 
K

Kirk Haines

Some "Customers" just don't like to pay their contracting bills. What's
the best way for me to time-limit a ruby/rails application so it stops
working if they don't pay their bills?

If you don't host it, your options are limited. It should be no problem to
put some sort of short-circuit into your code to do anything from displaying
a specific page to simply failing, but anything that you put in can be found,
if you are not in control of the code.


Kirk Haines
 
J

James Britt

Warren said:
Some "Customers" just don't like to pay their contracting bills. What's the best way for
me to time-limit a ruby/rails application so it stops working if they don't pay their
bills?

How do people use the application when they *do* pay their bills? Do
they have to sign in?


James


--

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools
 
J

junk5

Get a lawyer to send a letter giving them a hard deadline for payment,
warning that you will take them to court if payment is not made in full
by that date. Ideally, it would be sensible to have a clause in
whatever contract you signed with the customer stating that they incur
your legal costs if they refuse to pay in a timely manner, but if not
you'll have to swallow this cost yourself. If you don't have any
written contract with your customer, then you may have to put this one
down to experience.

You can waste a lot of time writing code that protects you, but in the
end it will come down to a test in code that essentially reads "if
allowed==true then do_it() else do_not()"; if your customer thinks it's
worth their while, they'll just find and modify this code. The reason
the big boys write this kind of protection is that they have millions
of customers and assume that only a small (and acceptable) number will
modify the code. The big boys can't afford to take every one of their
customers to court (it would be too expensive and they'd lose all their
customers). You only have one customer; if you have a proper contract,
you should easily be able to take them to court. You'll lose their
future custom, but I guess you'd rather them be a drain on your
competitors' resources than your own.

I imagine that a scary letter from a lawyer will encourage them to pay
up and that a trip to court won't be needed.
 
V

Victor Reyes

------=_Part_26784_23778612.1131647511466
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Forget the lawyer. Hire a hitman, they might be cheaper!

Get a lawyer to send a letter giving them a hard deadline for payment,
warning that you will take them to court if payment is not made in full
by that date. Ideally, it would be sensible to have a clause in
whatever contract you signed with the customer stating that they incur
your legal costs if they refuse to pay in a timely manner, but if not
you'll have to swallow this cost yourself. If you don't have any
written contract with your customer, then you may have to put this one
down to experience.

You can waste a lot of time writing code that protects you, but in the
end it will come down to a test in code that essentially reads "if
allowed=3D=3Dtrue then do_it() else do_not()"; if your customer thinks it= 's
worth their while, they'll just find and modify this code. The reason
the big boys write this kind of protection is that they have millions
of customers and assume that only a small (and acceptable) number will
modify the code. The big boys can't afford to take every one of their
customers to court (it would be too expensive and they'd lose all their
customers). You only have one customer; if you have a proper contract,
you should easily be able to take them to court. You'll lose their
future custom, but I guess you'd rather them be a drain on your
competitors' resources than your own.

I imagine that a scary letter from a lawyer will encourage them to pay
up and that a trip to court won't be needed.

------=_Part_26784_23778612.1131647511466--
 
D

Darshan Patil

Warren said:
Some "Customers" just don't like to pay their contracting bills. What's the best way for
me to time-limit a ruby/rails application so it stops working if they don't pay their
bills?

Warren
Adding a backdoor to a rails app is trivial ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top