The present invention provides compounds having formula (I); and pharmaceutically acceptable derivatives thereof, wherein R1-R4, n, p, A, B, D, E, L and AR1 are as described generally and in classes and subclasses herein, and additionally provides pharmaceutical compositions thereof, and methods for the use thereof for the treatment of disorders mediated by the CD11/CD18 family of cellular adhesion molecules (e.g., LFA-1).