I\'m developing an ASP .Net MVC application. One of my actions requires id as a parameter. For example:
id
public actionresult Detail(Guid id){
No, it's not safe.
You can calculate a SHA-2 hash of it though, and take the first few characters of that.