Control of the dielectric breakdown of PDMS was achieved by limiting the current during the breakdown process. This enabled tuning of the nanochannel pore size and hence their permeability for molecules of different molecular weights. This method enabled the analysis of the drug quinine from whole blood in 3 min using a simple, disposable microfluidic device.