updated folder actions based on sharing for security