What are the rights based perspectives of ethical behaviour?

If you agree that people have certain inherent rights just because they are people (as claimed in the Declaration of Independence, for example, which asserts that everyone has the right to life, liberty, and the pursuit of happiness) then it logically follows that ethical behavior would require you to respect those rights, and not to violate them.