Can applies directly to what is possible, while may connotes to what is permissible.

Example: An individual can break the law, but he may not..