Dual Access Control for Cloud-Based Data Storage and Sharing