How to allow anonymous user to edit their contact details on CiviCRM?
The link is missing checksum parameter(cs). It should be 

https://example.com/civicrm/profile/edit?gid=48&amp;id=8949&amp;cs=11e24e6f361dceacd63ea0120b00c871&amp;reset=1

Thanks

Pradeep