Synchronising files with file attributes

Hello,

is it possible to synchronise files with there attributes (hidden,readonly)?
Or is it possible to set all files when they are synced to the client, to the readonly attribute?

Thanks a lot!
Regards
Kevin