Security Design and Information Aggregation in Markets